package com.xl.javabean;

/**
 * @ClassDescription:
 * @JdkVersion: 1.8
 * @Author: lei·xie
 * @Created: 2024/3/14 0014 11:17
 */
public class StudentOperator {

    private Student student;
    public StudentOperator(Student student){
        this.student = student;
    }

    public void printPass() {
        if (student.getScore() >= 60) {
            System.out.println("通过");
        } else {
            System.out.println("不通过");
        }
    }
}
